SQL Oracle
SQL Oracle
English
1. Make a query to retrieve all lecturer data stored in the database.
2. Make a query to retrieve all study program data stored in the database.
3. Make a query to retrieve all data on the name of the activity and the date of the activity.
4. Make a query to retrieve all the data on the name of the course and credits from each one
subject.
5. Make a query to retrieve a list of lecturer NID, student NIM, and student UAS scores
for students who get a UAS score of 60 or more.
6. Make a query to retrieve a list of names and credits for the courses whose names are written
"Programming".
Answer
Jawaban
1.select NID AS NID_2000002, NAMA_DOSEN NAMA_DOSEN_2000002 FROM DOSEN;
2.select KODE_PRODI AS KODE_PRODI_2000002, NAMA_PRODI AS
NAMA_PRODI_2000002, MASA_TAHUN_STUDI AS MASA_TAHUN_STUDI_2000002
FROM DOSEN;
3.select NAMA_EVENT AS NAMA_EVENT_2000002, TANGGAL_EVENT AS
TANGGAL_EVENT_2000002 FROM EVENT;
4.select NAMA_MK AS NAMA_MK_2000002, SKS AS SKS_2000002 FROM
MATAKULIAH;
5.select NIM AS NIM_2000002, NID AS NID_2000002, UAS AS UAS_2000002 FROM
NILAI WHERE UAS = 60 OR UAS > 60;
6.select NAMA_MK AS NAMA_MK_2000002, SKS AS SKS_2000002 FROM
MATAKULIAH WHERE NAMA_MK LIKE '%Programming%';