Insert into people valuespeter paparazzo ghost

Info icon This preview shows pages 2–4. Sign up to view the full content.

Insert into People Values("Peter Paparazzo", "Ghost bouncer/professional wedding planning service", "New Jersey, USA", 844-555-8626, 4); 7. Insert into People Values("c-Czar", Null, "Los Angeles, USA", 904-422-9194, 1); Phase 4 – SELECT Step 1 – Write a SELECT statement to display the Name and Occupation of all individuals who live in New York, USA Select Name, Occupation From People Where Location = “New York, USA";
Image of page 2

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Step 2 – Write a SELECT statement to display the Name, Occupation and Location of individuals who have the occupation LIKE ‘Ghost%’ Select * From People Where Occupation = "Ghost%"; Step 3 – Write a SELECT statement to display all of the data in the PEOPLE table sorted by Name. SELECT Name From People Order By Name ASC; Step 4 – Write a SELECT statement to display all of the data in the PEOPLE table sorted in descending order by Location. Select Name From People Order By Name DESC; Phase 5 – Create SALARY table & INSERT data Step 1 – Using the following data table below, please write the SQL statement required to construct this second table. Please name this table ‘SALARY’. Be sure to declare the correct ‘type’ variable for each column of the table (int, char, etc.). Do not worry about declaring any foreign keys at this time. Declare SalaryBracket to be the PRIMARY KEY.
Image of page 3
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '08
  • MCCONN,CHARLOTTERYOO,JUNGWOO
  • Foreign key

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern