It's UWAweek 42 (2nd semester, week 12)

help1402

This forum is provided to promote discussion amongst students enrolled in CITS1402 Relational Database Management Systems.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 2 articles in this topic
Showing 2 of 612 articles.
Currently 116 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
1:11pm Sat 5th Oct, ANONYMOUS

Hi, On the Lecture wk 10, Slide 28-29 mentions the following: (a) If column in view is based on an aggregate function: • Column may appear only in SELECT and ORDER BY clauses of queries that access view. • Column may not be used in WHERE nor be an argument to an aggregate function in any query based on view. And, it also mentions that "This is ISO. This works in SQLite!!' Could someone please clarify if we can use the restriction (mentioned in (a)) in SQLite? Thanks.


SVG not supported

Login to reply

👍?
helpful
7:27pm Sun 6th Oct, Mehwish N.

Hi, The examples that you have mentioned are going to work in sqlite (see the code below). However, this is not going to work with other dilects of SQL. You can use it in sqlite if you want to. In the exam, if you have written a query that either works in sqlite or is ISO, it will be considered correct. Cheers



This article has 1 attachment:

 

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy