It's UWAweek 47

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 selected article
Showing 1 of 684 articles.
Currently 141 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
7:35pm Wed 28th Aug, Andre H.

Actually the reason this query can run SELECT job_id, po_date FROM pos WHERE po_date < '1990-01-03' GROUP BY job_id; is Because sqlite have "bare columns" implementation in aggregation query https://www.sqlite.org/draft/lang_select.html#bare_columns_in_an_aggregate_query In short, sqlite will fill our bare column (po_date) with value from one of the rows in the group, but which row's value is used is unpredictable and can vary. Sqlite3 itself is not as strict as other popular sql languages. So I don't think you can do that "bare column" to any other sql services like PostgreSQL or MS SQL Server. At least I am sure you cannot do that in PostgreSQL, not sure about the other though. You can do your own research for it!

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