I was wondering if there was a more efficient way to perform this search.
"select count (*) as num from customer where userid = 2";
I would like to only find the first occurrance of this and exit after, but the sql that I have will check the whole table.
thanks " ahhh computers, how they made our lives much simpler
"
"select count (*) as num from customer where userid = 2";
I would like to only find the first occurrance of this and exit after, but the sql that I have will check the whole table.
thanks " ahhh computers, how they made our lives much simpler