This SQL statement attempts to insert a new record into the offc table by selecting the job, ename, and sal fields from the emp table where ename equals 'SMITH', and also tries to insert specific values for job, ename, and sal for a new record. However, it returns an error stating that the SQL command is not properly ended.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
50 views1 page
Subquerry in Insert
This SQL statement attempts to insert a new record into the offc table by selecting the job, ename, and sal fields from the emp table where ename equals 'SMITH', and also tries to insert specific values for job, ename, and sal for a new record. However, it returns an error stating that the SQL command is not properly ended.