Jump to content

Select from two tables


sandy1028

Recommended Posts

Hi,

 

I have table A with the fields jobid    | varchar(20)  | NO  | PRI |                    |      |

| jobname  | varchar(30)  | YES  |    | NULL                |      |

| owner    | varchar(15)  | YES  |    | NULL                |      |

| queue    | varchar(10)  | YES  |    | NULL                |      |

|flag

 

 

I have table B with fields

jobid    | varchar(20)  | NO  | PRI |                    |      |

| jobname  | varchar(30)  | YES  |    | NULL                |      |

| owner    | varchar(15)  | YES  |    | NULL                |      |

| queue    | varchar(10)  | YES  |    | NULL                |      |

| exittime

 

 

I should select all data from table A and also from table B.

How can I select all the jobname's from A and B

Link to comment
https://forums.phpfreaks.com/topic/75469-select-from-two-tables/
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.