Jump to content

Problem in query


sandy1028

Recommended Posts

Hi,

 

Please help me how to write the query.

To fetch the different category of jobs(running,queued and completed) for the particular centre of the city.

 

For each city  there are different centres.

 

The data should be displayed in this format

 

                  CentreNames---------------------------

CityNames      Running Queued Completed

.

.

.

Link to comment
https://forums.phpfreaks.com/topic/69017-problem-in-query/
Share on other sites

hi,

 

Table contains city, centres,state.

State is the type of jobs. It contains the fields R,W,P depending on state running,waiting or completed.

 

How to write the query for paticular city and centres depending on the state the value should be filled in respective  columns of R W P

 

Please tell me how to proceed

Link to comment
https://forums.phpfreaks.com/topic/69017-problem-in-query/#findComment-347553
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.