Preview

Unit 365 Assignment 3

Satisfactory Essays
Open Document
Open Document
788 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Unit 365 Assignment 3
CIT 365 – Assignment # 4 – Intermediate queries (1 table)
Some important notes
1. When you are finished working with SQLPlus, type the following: Commit; Exit; This will permanently save your work
2. It is STRONGLY suggested that you do your scratch work on Notepad or Textpad.

3. For each question, show the question, the SQL statement, and the result.

SELECT AVG (T1) FROM Student;
SELECT (T1+T2+T3)/3 FROM Student;

Assignment 4
1. Create an Oracle table for the following STUDENT data:
STUDENT

Name
ID
Major
Course
Assignment 1
Assignment 2
Midterm
Final
Project
Aisha Ahmed
200312345
CIT
CIT365
83
91
77
82
71
Anood Abdulla
200312356
BUS
CIT365
77
81
66
76
81
Budoor Mahommad
…show more content…
Which students have the letter “s” in their names?
SELECT Name FROM students WHERE Name LIKE '%s%';
+---------------+
| Name |
+---------------+
| Laila Saeed |
| Aisha Ahmed
…show more content…
List the average score for each student. Assume that all assessments have equal weight.
SELECT Name,(A1+A2+Midterm+Final+Project)/5 as Average FROM students;

+-----------------+---------+
| Name | Average |
+-----------------+---------+
| Laila Saeed | 74.4000 |
| Ghulood Ali | 77.4000 |
| Aisha Ahmed | 80.8000 |
| Anood Abdulla | 76.2000 |
| Fatma Essa | 64.6000 |
| Maryam Ibrahim | 87.2000 |
| Budoor Mahommed | 88.2000 |
| Hanan Ahmed | 93.6000 |
| Shamsa Khalid | 93.4000 |
| Hanan Abdulla | 85.6000 |
+-----------------+---------+

7. What is the average score for the student who scored highest on the midterm?
SELECT Name,MAX(Midterm),(A1+A2+Midterm+Final+Project)/5 as HighstMidtermScoredStudentsAverage FROM students;

+-------------+--------------+------------------------------------+
| Name | MAX(Midterm) | HighstMidtermScoredStudentsAverage |
+-------------+--------------+------------------------------------+
| Laila Saeed | 92 | 74.400000000 |
+-------------+--------------+------------------------------------+

8. List the data sorted by Major and within major by Name.
SELECT Major From students ORDER BY Major;
+-------+
| Major |

You May Also Find These Documents Helpful

  • Satisfactory Essays

    unit 5 assignment1

    • 309 Words
    • 2 Pages

    What type of install is the cable going into? Is everything in a fixed position? If you have an install where items are moved around without being disconnected, using highly flexible cable is necessary. Cables in these scenarios need to be flexible to meet those demands of mobility, and also for the life of the wire so that it does not crack, break, fray or short. We had a job at a university where we moved flat panels on a track system to create different screen sizes, and for that we had to make sure the cable would meet the demand.…

    • 309 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 7 Assignment 1

    • 609 Words
    • 3 Pages

    Switched circuit- A circuit created by the phone company in reaction to signaling (the user tapping telephone keys or a modem sending in the same digits), with the telco tearing down the circuit when the user is finished.…

    • 609 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 5 Assignment 2

    • 1305 Words
    • 4 Pages

    1. Which of the following types of LANs was a competitor of Ethernet LANs from the earliest days of wired LANs in the 1980s and into the 1990s? c. Token Ring…

    • 1305 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 256 Words
    • 1 Page

    First of all I would recommend that you use Raid-1 as your fault-tolerant hardware. RAID-1 is most often deployed with two disks. The disks are mirrored – providing fault tolerance. Read performance is increased while write performance will be similar to a single disk – if not less. A single disk failure can be sustained without data loss. RAID-1 is often used when fault tolerance is key and there isn’t an exceptional space or performance requirement.…

    • 256 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 344 Words
    • 2 Pages

    * The onsite updates the responsibility of the onsite IT team, and ultimately the IT supervisor. The responsibility of the restore includes the same people plus the OK from management. All parties need to be kept updated with current…

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 3 Assignment 1

    • 383 Words
    • 2 Pages

    Video Connectors – Video Graphics Adapter (VGA), Digital Video Interface (DVI), and S-Video (TV connection)…

    • 383 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 10 Assignment 1

    • 469 Words
    • 3 Pages

    For this video, I have learned the name of the process I have used to repair applications.…

    • 469 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 6 Assignment 1

    • 228 Words
    • 1 Page

    1. How much data has been modified between the last back and the time of failure?…

    • 228 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Unit 8 Assignment 1

    • 349 Words
    • 1 Page

    IP route: One entry in an IP routing table that lists some potential destination (usually a network ID or subnet ID) as forwarding instructions, including the interface out which the router should forward the IP packet.…

    • 349 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Unit 7 Assignment 1

    • 261 Words
    • 2 Pages

    2. A pretest loop is a loop tests the conditions before performing the iteration. A posttest loop performs the iteration then test the condition.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Unit 4 Assignment 2

    • 717 Words
    • 3 Pages

    The purpose of this policy is to define standards for connecting to Richman investment’s network from any host. These standards are designed to minimize the potential exposure to Richman investments from damages which may result from unauthorized use of Richman investments resources. Damages include the loss of sensitive or company confidential data, intellectual property, damage to public image, damage to critical Richman investments internal systems, etc.…

    • 717 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 2 Assignment 2

    • 299 Words
    • 1 Page

    The evolution of the Ethernet standards will have a large effect on data storage requirements. As the speeds of these connections continue to increase, users and businesses will be able to transfer larger files faster and will required larger data storage to accommodate the increased demand of resources. Thirty years ago, when the standard was only 10MB, there was nowhere near the need for the data storage capacity as there is today, with the current standard being 100 Gbit, with 1 Tbit on the way. Data storage wasn’t as high in demand before because it would take an extremely long amount of time to transfer large files, but as the speed increases, so will the demand.…

    • 299 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Unit 3 Assignment 1

    • 310 Words
    • 1 Page

    5. How long do you think it will take before the IPv4 addresses are completely exhausted? It could possibly become exhausted within the next two years or so.…

    • 310 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    UNIT 2 ASSIGNMENT 1

    • 1061 Words
    • 5 Pages

    4. According to this chapter, which of the following concepts happens in a modern-day, end-to-end voice call between two home telephones in the United States? (Choose two answers.)…

    • 1061 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Unit 7 Assignment 3

    • 409 Words
    • 2 Pages

    Structuration Theory is a social theory based on several Theorists throughout time but notably Anthony Giddens. Basically Structuration Theory of our social systems stating that both structure and agents are equal in how we interact socially.…

    • 409 Words
    • 2 Pages
    Satisfactory Essays