help with sql class 1.Report the student name, email, and entry date of all female students.  The output format is as follows: 'Student Name'    'Email'    'Entry Date' 2. Report all information of the students who entered in January 2004.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

help with sql class

1.Report the student name, email, and entry date of all female students.  The output format is as follows:
'Student Name'    'Email'    'Entry Date'

2. Report all information of the students who entered in January 2004.

Insert Into Professors Values (2005, "Charlie", 'CIS', "201-234-3291",
"Charlie@calstatela.edu",
"www.calstatela.edu/faculty/Charlie/");
Insert Into Professors Values (2006, "Jennifer", 'CIS', "201-234-3621",
"Jennifer@calstatela.edu", "www.calstatela.edu/faculty/Jennifer/");
Insert Into Professors Values (2007, "Jason", 'CIS', "201-234-3921",
"www.calstatela.edu/faculty/Jason/");
"Jason@calstatela.edu",
Insert Into Supervise Values (2001, 0001, "project01", "2002-02-01");
Insert Into Supervise Values (2001, 0002, "project01", "2002-03-01");
Insert Into Supervise Values (2001, 0003, "project02", "2002-03-01");
Insert Into Supervise Values (2002, 0005, "project03", "2002-09-01");
Insert Into Supervise Values (2002, 0006, "project04", "2005-11-01");
Insert Into Supervise Values (2003, 0004, "project05","2003-10-01");
Insert Into Supervise Values (2003, 0004, "project06", "2004-10-01");
Transcribed Image Text:Insert Into Professors Values (2005, "Charlie", 'CIS', "201-234-3291", "Charlie@calstatela.edu", "www.calstatela.edu/faculty/Charlie/"); Insert Into Professors Values (2006, "Jennifer", 'CIS', "201-234-3621", "Jennifer@calstatela.edu", "www.calstatela.edu/faculty/Jennifer/"); Insert Into Professors Values (2007, "Jason", 'CIS', "201-234-3921", "www.calstatela.edu/faculty/Jason/"); "Jason@calstatela.edu", Insert Into Supervise Values (2001, 0001, "project01", "2002-02-01"); Insert Into Supervise Values (2001, 0002, "project01", "2002-03-01"); Insert Into Supervise Values (2001, 0003, "project02", "2002-03-01"); Insert Into Supervise Values (2002, 0005, "project03", "2002-09-01"); Insert Into Supervise Values (2002, 0006, "project04", "2005-11-01"); Insert Into Supervise Values (2003, 0004, "project05","2003-10-01"); Insert Into Supervise Values (2003, 0004, "project06", "2004-10-01");
CREATE TABLE Students (
student_id int,
);
student_name varchar (50) NOT NULL,
gender char(1)
NULL,
age float NULL,
EMail varchar(40) NULL,
EntryDate date NULL
CREATE TABLE Professors (
prof_id int,
);
prof_name varchar (50) NOT NULL,
dept varchar(5) NULL,
officephone varchar(16) NULL,
EMail varchar(40) NULL,
webAddress varchar(40) NULL
);
CREATE TABLE Supervise (
prof_id int,
student_id int,
project varchar(10) NULL,
startdate date NULL
Insert Into Students Values (0001,
Insert Into Students Values (0002,
01");
Insert Into Students Values (0003,
Insert Into Students Values (0004,
03-01");
Insert Into Students Values (0005,
Insert Into Students Values (0006,
"2004-01-01");
"Tom", 'M', 19, "tom@yahoo.com", "2001-01-01");
"John", 'M', 20, "John@hotmail.com", "2001-06-
"Anmy", 'F', 15, "Anmy@gmail.com", "2003-01-01");
"Dustin", 'M', 24, "Dustin@hotmail.com", "2002-
"Mary", 'F', 22, "Mary@sbc.net", "2004-01-030");
"Jessica", 'F', 21, "Jessica@calstatela.edu",
"Rainy", 'M', 19, "rainy@calstatela.edu", "2004-
Insert Into Students Values (0007,
01-12");
Insert Into Students Values (0008, "Kelvin", 'M', 19, "Kelvin@calstatela.edu",
"2004-01-12");
Insert Into Professors Values(2001, "Scott", 'CS', "201-234-3213",
"scott@calstatela.edu", "www.calstatela.edu/faculty/scott/");
Insert Into Professors Values (2002, "David", 'CE', "201-234-3112",
"david@calstatela.edu", "www.calstatela.edu/faculty/david/");
Insert Into Professors Values (2003, "Judy", 'CE', "201-234-3002",
"Judy@calstatela.edu", "www.calstatela.edu/faculty/Judy/");
Insert Into Professors Values (2004, "Gerald", 'CS', "201-234-3102",
"Gerald@calstatela.edu", "www.calstatela.edu/faculty/Gerald/");
Transcribed Image Text:CREATE TABLE Students ( student_id int, ); student_name varchar (50) NOT NULL, gender char(1) NULL, age float NULL, EMail varchar(40) NULL, EntryDate date NULL CREATE TABLE Professors ( prof_id int, ); prof_name varchar (50) NOT NULL, dept varchar(5) NULL, officephone varchar(16) NULL, EMail varchar(40) NULL, webAddress varchar(40) NULL ); CREATE TABLE Supervise ( prof_id int, student_id int, project varchar(10) NULL, startdate date NULL Insert Into Students Values (0001, Insert Into Students Values (0002, 01"); Insert Into Students Values (0003, Insert Into Students Values (0004, 03-01"); Insert Into Students Values (0005, Insert Into Students Values (0006, "2004-01-01"); "Tom", 'M', 19, "tom@yahoo.com", "2001-01-01"); "John", 'M', 20, "John@hotmail.com", "2001-06- "Anmy", 'F', 15, "Anmy@gmail.com", "2003-01-01"); "Dustin", 'M', 24, "Dustin@hotmail.com", "2002- "Mary", 'F', 22, "Mary@sbc.net", "2004-01-030"); "Jessica", 'F', 21, "Jessica@calstatela.edu", "Rainy", 'M', 19, "rainy@calstatela.edu", "2004- Insert Into Students Values (0007, 01-12"); Insert Into Students Values (0008, "Kelvin", 'M', 19, "Kelvin@calstatela.edu", "2004-01-12"); Insert Into Professors Values(2001, "Scott", 'CS', "201-234-3213", "scott@calstatela.edu", "www.calstatela.edu/faculty/scott/"); Insert Into Professors Values (2002, "David", 'CE', "201-234-3112", "david@calstatela.edu", "www.calstatela.edu/faculty/david/"); Insert Into Professors Values (2003, "Judy", 'CE', "201-234-3002", "Judy@calstatela.edu", "www.calstatela.edu/faculty/Judy/"); Insert Into Professors Values (2004, "Gerald", 'CS', "201-234-3102", "Gerald@calstatela.edu", "www.calstatela.edu/faculty/Gerald/");
Expert Solution
Step 1

1. Report the student name, email, and entry date of all female students.

Query:

SELECT student_name AS 'Student Name', EMail AS 'Email', EntryDate AS 'Entry Date'
FROM Students
WHERE gender='F';

Output:

Computer Engineering homework question answer, step 1, image 1

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY