经典sql

SELECT
a.*,(select now())signUp,
CASE
WHEN b1.id IS NULL THEN
'未报名' ELSE '已报名'
END sate,
( SELECT COUNT( 1 ) FROM group_look_applicants c WHERE c.group_look_id = a.id ) sum1
FROM
group_look a
LEFT JOIN group_look_applicants b1 ON a.id = b1.group_look_id AND b1.telephone = "18857499211"

 

经典sql

 

经典sql

 

上一篇:C语言 运算符与表达式


下一篇:[英语]表达一致、相同相关的单词