I am using LLBLGEN where there is a method to execute a query as a scalar query
. Googling gives me a definition for scalar sub-query
, are they the same ?
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
A scalar query is a query that returns one row consisting of one column.
A scalar method is used for aggregate functions such as max, min, sum, avg and so on. Whenever you want to return a single value after execute the query.
For what it's worth:
Source