|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Help with Join, Union
I have a table with a field named Events.
In this field is events like Bowling, Concert etc.. The next field has people who are going to the Events and some people will be going to multiple Events. The problem is I need to list each Event and only those people associated with each Event they are going to. Right now I get this when I create a query: Event Name Bowling Bob Bowling John Concert Bob Concert John I would rather list them as Events related to Names. In VB6 I have a dataCombo that lists the Events and Names But I need the DataCombo to show an Event and all those Names that have that Event with it. Right now the datacombo has the Events seperately with each Name. How can I query for each Name as related to Event ? Thanks ! ![]() |
|
#2
|
|||
|
|||
|
you have one table with Event&Name in it?
select name from tableName where Event=? |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Help with Join, Union |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|