SQL (MySQL) Query Help

Completed Posted Mar 24, 2004 Paid on delivery
Completed Paid on delivery

I've attached the database schema and sample data. I need a query that will return me a list of all paths for a given Lab ID. So for the sample data it should return this: programID | courseID | labID 1PPP 1CCC 1LLL 1PPP 1CCC 2LLL NULL 3CCC 3LLL NULL NULL 4LLL 5PPP 6CCC 5LLL 5PPP 6CCC 6LLL 5PPP 1CCC 1LLL 5PPP 1CCC 2LLL I also need a query to return the same data except for a given courseID. So for the sample data it should return: programID | courseID 1PPP 1CCC 2PPP 2CCC NULL 3CCC NULL 4CCC 5PPP 5CCC 5PPP 6CCC 5PPP 1CCC Must work in MySQL [url removed, login to view] or later. So no subqueries or other features that MySQL [url removed, login to view] doesn't support. In your bid please confirm that you've looked at the schema and the sample data. You understand that not all child elements have parent elements. I assume you'll have to use some type of Left Joins.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Must work in MySQL [url removed, login to view] or later. So no subqueries or other features that MySQL [url removed, login to view] doesn't support.

Database Administration Engineering MySQL PHP Software Architecture Software Testing SQL

Project ID: #3146007

About the project

5 proposals Remote project Active Mar 24, 2004

Awarded to:

jlampa

See private message.

$21.25 USD in 1 day
(19 Reviews)
4.3

5 freelancers are bidding on average $41 for this job

onlyomvw

See private message.

$29.75 USD in 1 day
(3 Reviews)
1.7
kwicks

See private message.

$42.5 USD in 1 day
(0 Reviews)
0.0
gepedetto

See private message.

$46.75 USD in 1 day
(0 Reviews)
0.0
lalitb

See private message.

$63.75 USD in 1 day
(0 Reviews)
0.0