db icon indicating copy to clipboard operation
db copied to clipboard

exists used count(1)

Open wzhsh90 opened this issue 3 years ago • 0 comments

SELECT count(1) AS _t FROM person_info_t WHERE (id=?) LIMIT 1

why not use

SELECT 1 AS _t FROM person_info_t WHERE (id=?) LIMIT 1

wzhsh90 avatar Jul 23 '22 10:07 wzhsh90