Freefall27
Technical User
This is probably a fundamental question but I have not seen SQL written in this format before.
I recieved these SQL instructions to run a report in the future from a consultant. Can someone help me determine what it means? I am not sure of the signifigance of the s. e. c. ??
not all the referenced fields are contained in table cardview. There must be something I am missing.
Report Instructions:
1. Select s.base_num district, site_name, Equip_name, e.vendor, c.type card_type, slot, description, c.card_inst_id
from cardview c, equip_inst e, site_inst s
where e.equip_inst_id = c.equip_inst_id
and s.site_inst_id = c.site_inst_id
2. select * from card_attr_settings
Create a table ( table1) with query 1 and then add two new fields Revision and Issue.
Join table1 with from query 2 on card_inst_id.
From Query 2 – Val_attr_inst_id = 1434 gives the Revision and Issue 1435 gives the Issue
I recieved these SQL instructions to run a report in the future from a consultant. Can someone help me determine what it means? I am not sure of the signifigance of the s. e. c. ??
not all the referenced fields are contained in table cardview. There must be something I am missing.
Report Instructions:
1. Select s.base_num district, site_name, Equip_name, e.vendor, c.type card_type, slot, description, c.card_inst_id
from cardview c, equip_inst e, site_inst s
where e.equip_inst_id = c.equip_inst_id
and s.site_inst_id = c.site_inst_id
2. select * from card_attr_settings
Create a table ( table1) with query 1 and then add two new fields Revision and Issue.
Join table1 with from query 2 on card_inst_id.
From Query 2 – Val_attr_inst_id = 1434 gives the Revision and Issue 1435 gives the Issue