SQL
zoo.net
Error Messages
Error messages, how they are caused and what can be done about them.
MySQL
Error 1052 Column 'name' in field list is ambiguous
Error 1111 Invalid use of group function
Error 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error 1146 Table 'gisq.Bbc' doesn't exist
SQL Server
Msg 1013, Ambiguous column name 'name'.
Msg 147 An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
Msg 208 Invalid object name 'noSuchTable'
Msg 8120 Column 'xxx' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. (SQL-42000)
Oracle
ORA-00918: column ambiguously defined
ORA-00934: group function is not allowed here
ORA-00937: not a single-group group function
ORA-00942: table or view does not exist
ORA-00979: not a GROUP BY expression
DB2
SQL0203N A reference to column "NAME" is ambiguous. SQLSTATE=42702
SQL0120N A WHERE clause, GROUP BY clause, SET clause, or SET transition-variable statement contains a column function.
SQL0204N "GISQ.NOSUCHTABLE" is an undefined name
SQL0119N An expression starting with "xxx" specified in a SELECT clause, HAVING clause, or ORDER BY clause is not specified in the GROUP BY clause or it is in a SELECT clause, HAVING clause, or ORDER BY clause with a column function and no GROUP BY clause is specified. SQLSTATE=42803
Postgres
Error 7 ERROR: Column reference "name" is ambiguous
ERROR: Aggregates not allowed in WHERE clause
ERROR: Relation "nosuchtable" does not exist
Error 7 ERROR: Attribute xxx.xxx must be GROUPed or used in an aggregate function