astroman
Well-Known Member
i came across this question in a past paper and need to know how to answer these in writing?
http://i.imgur.com/GWBZOP6.png
http://i.imgur.com/GWBZOP6.png
Just learnt this today so this might help. For part i you have to use SQL basically to filter out the information required from the question. The question is asking to find who can lift more than 1000KG and cost of hire is less than $1000 dollars. So Katsumi already mentioned what you need to do to filter it out.don't get part i
umm I'm not quite sure why Katsumi has only put an asterisk in the select section. The select should include every single field name that should be chosen. The question asks for all the hoists and their 'relevant details'. I would include: Hoist, Maximum Weight Capacity, Lift, Cost of HireIs this SQL correct?
SELECT *
FROM Hoist
WHERE Max_Weight_Capacity>1000 AND Cost_of_Hire<1000 AND Return_Date>=28/03/13
ORDER BY Return_Date DESC
It has been quite a while haha, i sort of misread the question and assumed it wanted me to include *. So it was a bit of a mess up on my part, remember that i did note to take that advice on i with a grain of salt due to my being a little rusty in terms of practical database experience.umm I'm not quite sure why Katsumi has only put an asterisk in the select section. The select should include every single field name that should be chosen. The question asks for all the hoists and their 'relevant details'. I would include: Hoist, Maximum Weight Capacity, Lift, Cost of Hire
becuase the other details are not based solely on the hoist, but on other entities (i.e the customers)
so it would be:
SELECT Hoist, Maximum Weight Capacity, Lift, Cost of Hire
FROM Hoist
WHERE Max_Weight_Capacity>1000 AND Cost_of_Hire<1000 AND Return_Date>=28/03/13
ORDER BY Return_Date DESC
and nice adding of the return by date descending btw. not to confuse you further, but also it depends on what the HSC handbook says, but sometimes in SQL, they not only write the name of the fields, but also their table names. This is used when the data is taken from multiple tables(not the case here), just to show where each is from and make it easier. an example would be: SELECT hoist.hoist, maximum weight capacity.hoist, lift.hoist, cost of hire.hoist
hope that helps
If you don't mind, do you have any tips on what to study or what I should be studying?had my test, was good, i had done a few questions exactly the same in past papers and smashed em. But i think i spend too much time on them, i wrote a page and a half for quite a few 4 and 5 markers and so didn't have too much time to the end to write the same amount for other 4 and 5 markers. I also made a silly mistake, there was a scenario given where it clearly gave reasons towards an agile development approach but i was stressing in the last 5 mins to get it done and straight up wrote about the traditional method, i realised around when there was 1 minute left and just realised, . i hope i can still get some marks there doe.
With IPT, whilst there is usually a "right" approach/answer you typically still get marks for providing the correct/logical reasoning towards your suggested method. So if you correctly and logically wrote about the traditional method with specific reference to your scenario, i wouldn't be too worried about loosing too many marks.had my test, was good, i had done a few questions exactly the same in past papers and smashed em. But i think i spend too much time on them, i wrote a page and a half for quite a few 4 and 5 markers and so didn't have too much time to the end to write the same amount for other 4 and 5 markers. I also made a silly mistake, there was a scenario given where it clearly gave reasons towards an agile development approach but i was stressing in the last 5 mins to get it done and straight up wrote about the traditional method, i realised around when there was 1 minute left and just realised, . i hope i can still get some marks there doe.
Past exam questions/How to apply your knowledge to real life scenario's if you haven't done much on it yet.If you don't mind, do you have any tips on what to study or what I should be studying?
well it depends on what topics you've done but the general thing is to do your past papers and revise the crap out of your notes.If you don't mind, do you have any tips on what to study or what I should be studying?