PostgreSQL PGCES-02 Exam - Topic 4 Question 95 Discussion
Select the correct result generated by execution of the following SQL statements:CREATE TABLE log (id int, message TEXT, logtime TIMESTAMP); CREATETABLE log_01 () INHERITS (log);INSERT INTO log_01 VALUES (1, 'error', CURRENT_TIMESTAMP);SELECT * FROM log;
E) 'SELECT' statement returns 1 row, and exits successfully.
D) 'SELECT' statement returns 0 rows, and exits successfully.
B) Second 'CREATE TABLE' generates a syntax error.
A) First 'CREATE TABLE' generates a syntax error.
C) 'INSERT' statement generates an error stating that the number of columns and values do not match'.
Amos
5 hours agoBette
5 days agoTheron
11 days agoLashawna
16 days agoCarman
2 months agoHortencia
2 months agoDeandrea
2 months agoNakisha
3 months agoJonell
3 months agoElenora
3 months agoKeith
3 months agoVilma
3 months agoAilene
3 months agoFrederica
4 months agoJohana
4 months agoAileen
4 months agoLenita
5 months agoChanel
5 months agoCasey
5 months agoDavida
5 months agoHester
5 months agoEvangelina
6 months agoMarcos
6 months ago