Question: ( 8 ) Write the SQL statement to create the database politics in PostgreSQL. ( 9 ) Write the SQL statement and create the table

(8) Write the SQL statement to create the database politics in PostgreSQL.
(9) Write the SQL statement and create the table senators in database politics. Insert the initial data below into the table senators.
'AL', 'Jeff Sessions', 'R',1997,1946
'AL', 'Richard Shelby', 'R',1987,1934
'AK', 'Mark Begich', 'D',2009,1962
'AK', 'Lisa Murkowski', 'R',2002,1957
'AZ', 'John McCain', 'R',1987,1936
'AZ', 'Jon Kxdl','R',1995,1942
'AR', 'John Boozwan', 'R',2011,1950
'AR', 'Mark Pryor', 'D',2003,1963
'CA', 'Barbara Boxer', 'D',1993,1940
'CA', 'Dianne Feinstein', 'D',1992,1933
'CO', 'Mark Udall', 'D',2009,1950
'CO', 'Michael Bennet', 'D',2009,1964
'CT', 'Richard Blumenthal', 'D',2011,1946
'CT', 'Joe Lieberman', 'D',1989,1942
'DE', 'Thomas Carper', 'D',2001,1947
'DE', 'Chris Coons', 'D',2010,1963
'FL', 'Bill Nelson', 'D',2001,1942
'FL', 'Marco Rubio', 'R',2011,1971
'GA', 'Saxby Chambliss', 'R',2003,1943
'GA', 'Johnny Isakson', 'R',2005,1944
 (8) Write the SQL statement to create the database politics in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!