L
L
LalkaBagetova2014-11-16 11:14:25
SQL
LalkaBagetova, 2014-11-16 11:14:25

C++Bulder join two tables in SQL?

I have such tables and they have such rows, I need to combine them in C ++ Bulder, for example, so that the rows of the "Transactions" table and the "Realtors" table would be displayed in one dbGrid, how is it better to do this in my case?
In the builder I do it through Connection, DataSet, DataSourse
Please tell me, otherwise I tried it through Join, and nothing came d334a2bffc4141169b4a99f0a3cbc72a.png
of it, I need tables to be merged on the second grid
324fc006d2874f539c8c35f64491ddd5.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Nikitin, 2014-11-17
@padla2k

You can use View, which will display the results of a join table query.
something like...
SELECT * FROM Realtors
INNER JOIN Deals ON [Realtors].[Realtor ID] = [Deals].[Realtor ID]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question