Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 19. apríl 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Query multiple tables using PhpMyedit

phpMyEdit General     Query multiple tables using PhpMyedit
Odoslať novú tému   Odpovedať na tému    
 
johnygmalayil     Založený: 19.08.2015   Príspevky: 5  
Príspevok Zaslal: 2016-03-16 16:52
Návrat hore  Odpovedať s citátom     

How do I write a select query in phpmyedit to query multiple tables.

I know to query a single table I just need to write

$opts ['tb'] = 'table_one';

Is there some option to query in more tables ?

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2016-03-16 18:44
Návrat hore  Odpovedať s citátom     

http://opensource.platon.org/projects/doc.php/phpMyEdit/html/configuration.input-restrictions.html#AEN971

Table lookup is simple. Joining is more complex. See documentation.

 
johnygmalayil     Založený: 19.08.2015   Príspevky: 5  
Príspevok Zaslal: 2016-03-17 01:39
Návrat hore  Odpovedať s citátom     

I was able to join the two tables. But I want to print a field
from the second table. Hows it done ?

 
yousuf     Založený: 16.09.2021   Príspevky: 92  
Príspevok Zaslal: 2021-11-14 11:05
Návrat hore  Odpovedať s citátom     

Your current article normally have got much of really up to date info. Where do you come up with this? Just stating you are very imaginative. Thanks again buy real instagram followers

 
ArtAlberto     Založený: 27.02.2022   Príspevky: 8  
Príspevok Zaslal: 2022-12-31 16:11
Návrat hore  Odpovedať s citátom     

If you want to query multiple tables at once, you can do this by using a join. If you want to find the sum of sales for all products, you use 먹튀앱 in an UPDATE statement, because this would return anything at all. The easiest way to get around this problem is to use a subquery or a correlated subquery.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov