Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 0 points ) Suppose we have a database with a table, StudentInfo, which contains the following records. table [ [ FirstName ,

(10 points) Suppose we have a database with a table, StudentInfo, which contains the following records.
\table[[FirstName,LastName,Credits,YearAdmitted],[Tim,Roberts,12,2017],[John,Cooper,13,2008],[Lamar,Williams,12,2009],[Tom,Parker,9,2014],[Mary,Smith,17,2007],[Lisa,Jones,5,2010],[Roger,Stanford,3,2013],[Michael,Jones,18,2008],[William,Smith,9,2006]]
a) List the fields for this table.
b) What is the output (ie: list the appropriate records) from:
SELECT LastName, YearAdmitted FROM StudentInfo WHERE YearAdmitted 2009 OR YearAdmitted 2014
c) What is the output (ie: list the appropriate records) from:
SELECT * FROM StudentInfo WHERE Credits>=12 AND YearAdmitted 2009;
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions