I was just reading about scalar queries, and I have some questions:
Can a scalar query return more than one column, albeit in only one record?
Must a scalar query return one record, or can it potentially return 0? (i.e. A join returns nothing.)
Where else, apart from scalar subqueries, is the distinction between a scalar query and 'regular' query (what's the opposite of a scalar query) necessary or useful?
Thanks.