SQL Error Messages

From SQLZOO
Revision as of 12:13, 19 July 2012 by Connor (Talk | contribs)

Jump to: navigation, search

Contents

Error Messages

Error messages, how they are caused and what can be done about them.

MySQL

SQL Server

Oracle

DB2

  • <a href='err934/db2'>SQL0120N A WHERE clause, GROUP BY clause, SET clause, or SET transition-variable statement contains a column function. </a>
  • <a href='err942/db2'>SQL0204N "GISQ.NOSUCHTABLE" is an undefined name</a>
  • <a href='err979/db2'>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</a>

Postgres

  • <a href='err918/postgres'> Error 7 ERROR: Column reference "name" is ambiguous </a>
  • <a href='err934/postgres'>ERROR: Aggregates not allowed in WHERE clause</a>
  • <a href='err942/postgres'>ERROR: Relation "nosuchtable" does not exist</a>
  • <a href='err979/postgres'>Error 7 ERROR: Attribute xxx.xxx must be GROUPed or used in an aggregate function</a>
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense