已知 sql server中
$server="se";
$username="us";
$password="pa";
$datebase="ds";1 现要取sql server中 body 表(字段为id, title) 中的id,要一条一条的取出来,并输出,
并再输出:“你最后取到的一条记录的id是” 怎么实现呀,谢谢
$server="se";
$username="us";
$password="pa";
$datebase="ds";1 现要取sql server中 body 表(字段为id, title) 中的id,要一条一条的取出来,并输出,
并再输出:“你最后取到的一条记录的id是” 怎么实现呀,谢谢
not exists
(select 1 from body where id>b.id);