Question

Create sql queries to find the following

miscrosoft access compatible commands please

9. Courses for which at least three students earned a grade of A, showing the grade and the course code 10. Semesters when th

0 0
Add a comment Improve this question Transcribed image text
Answer #1

9)

SELECT Course, Grade FROM E XAM WHERE Grade = 'A' GROUP BY Course HAVING count(*) >= 3;

10)

SELECT Semester, count(Section) FROM SCHEDULE GROUP BY Semester ORDER BY count(Section) DESC;

NOTE: As per HOMEWORKLIB POLICY I am allowed to answer specific number of questions (including sub-parts) on a single post. Kindly post the remaining questions separately and I will try to answer them. Sorry for the inconvenience caused.

Add a comment
Know the answer?
Add Answer to:
Create sql queries to find the following miscrosoft access compatible commands please 9. Courses for which...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please answer questions 4 to 7 please type the answers SQL Given the tollowing whema COURSE ode. Thle, Credits) EXAMCAurse. Stadent. Grade, Score GRADUATIONPALHOure, Suedent) SCHEDULE(Professor, Cour...

    Please answer questions 4 to 7 please type the answers SQL Given the tollowing whema COURSE ode. Thle, Credits) EXAMCAurse. Stadent. Grade, Score GRADUATIONPALHOure, Suedent) SCHEDULE(Professor, Course, Semester Section PROFESSORİD, Name, SSN) STUDENTOİD, Name, SSN) Formulate SQL queries to find he bove 4. People that are students but are not professors, showing the people name and SSN 5. The courses for which classes have been scheduled but the professor is yet to be defined showing the course title, the semester,...

  • 10- Specify the following queries in SQL on the database schema of Figure 2. a. Retrieve...

    10- Specify the following queries in SQL on the database schema of Figure 2. a. Retrieve the names of all senior students majoring in ‘CS’ (Computer Science). b. Retrieve the names of all courses taught by Professor King in 2004 and 2005. c. For each section taught by Professor King, retrieve the course number, semester, year, and number of students who took the section. d. Retrieve the name and transcript of each senior student (Class =4) majoring in CS. A...

  • write sql queries] 9. The total number of sections taught by each instructor in each (semester,...

    write sql queries] 9. The total number of sections taught by each instructor in each (semester, year) 10. The total number of D and F grades in each (semester, year) 11. The total number of D and F grades in each (semester, year) for the “Graph Theory” course write sql queries U Ausigrument 11 * C Gullerewors llea With Chege x + - IX € → C a su.instructure.com/courses/34607/assignments/863706 Part 1 For the following database schema, write SQL queries to...

  • 4. Write SQL data definition commands for each of the following queries: a. How would you add an attribute, Class, to the Student table? b. How would you remove the Registration table? c. How would you change the FacultyName field from 25 characters

    Problems and Exercises 1 through 9 are based on the dass scheduling 3NF relations along with some sample data shown in Figure 6-11. Not shown in this figure are data for an ASSIGNMENT relation, which represents a many-to-many relationship between faculty and sections.4. Write SQL data definition commands for each of the following queries:a. How would you add an attribute, Class, to the Student table?b. How would you remove the Registration table?c. How would you change the FacultyName field from...

  • 5.10 Express each of the following queries in relational algebra and (ii) SQL using the Student...

    5.10 Express each of the following queries in relational algebra and (ii) SQL using the Student Registration System schema of Figure 3.4. a. List all courses that are taught by professors who belong to the EE or MGT departments. Exercises 189 b. List the names of all students who took courses both in spring 1997 and fall 1998 38 CHAPTER 3 The Relational Data Model FIGURE 3.4 Fragment of the Student Registration database schema STUDENT (Id:INTEGER, Name:STRING, Address:STRING, Statu PROFESSOR...

  • 1. A college database keeps information about: Professors- ID, Name, Title . Courses - Code, Name...

    1. A college database keeps information about: Professors- ID, Name, Title . Courses - Code, Name . Software products- Name, description For each semester, the college wants to record which professor taught which course and what software was used for it. A particular software product can be used in different courses; a professor can teach more than one course and use multiple software products; a course can be taught by different professors For each software product there is a professor...

  • Please write ONE SQL statement for each of the following tasks using the below tables. Note...

    Please write ONE SQL statement for each of the following tasks using the below tables. Note that you can only use conditions specified in the task description and cannot manually look up data and add conditions. Task 1: return title of textbooks with price over $100. Task 2: return number of courses sections scheduled for each year and semester. Please return year, semester, and number of courses. Task 3: Return names of all courses in Information Systems undergraduate program. Task...

  • Problem 1. Please create the following tables for UMBC bookstore’s textbook management system with appropriate primary...

    Problem 1. Please create the following tables for UMBC bookstore’s textbook management system with appropriate primary keys & foreign keys. Please include drop table statements with cascade constraints before your create table statements so it is easier to grade your create table statements. E.g., suppose you will create table tab1, tab2, including the following before creating them: Drop table tab1 cascade constraints; Drop table tab2 cascade constraints; Assumptions: Each teacher can teach one or more scheduled course sections. Each scheduled...

  • database management system

    Design a “good” entity-relationship diagramthat describes the following objects in an university application:students, instructors, professors, and courses.Students aresubdivided into graduate and undergraduate students. Students takea course in a particular semester and receive a grade for theirperformance. Sometimesstudents take the same course again in adifferent semester. There are no limits on how many courses astudent can take, and on how many students completed aparticularcourse. Each graduate student has exactly one advisor, who must bea professor, whereas each professor is allowed to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT