我在一个MySQL数据库中工作。我想在id上将表2和表3连接到表1的结果。我希望保留表1的所有条目,并且在加入之后,调用id上的2和3的结果为NULL值。Table 1 has callidTable 3 has invoiceid and customerid
因此,在invoiceid上连接表2和3,并按custome
可能重复:
$total_pages = $total_pages[num];
$page = mysql_escape_string($_' and category= '$categories' and type ='$vtype' order by id DESC LIMIT $start, $limit&q