|
|
|
как показать товары
|
|||
|---|---|---|---|
|
#18+
Помогите написать запрос Есть таблицы 'product' (id, name) и 'product_relation' (product_id, product_modification_id) Нужно вывести все товары из таблицы 'product', которые не равны 'product_relation'.'product_modification_id' Писал: SELECT * FROM 'product' t1 JOIN 'product_relation' t2 WHERE 't1'.'id' != 't2'.'product_modification_id' Но понятно что делаю неправельно. Просьба сильно не пинать. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.01.2017, 15:40 |
|
||
|
|

start [/forum/topic.php?fid=47&gotonew=1&tid=1830964]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
168ms |
get topic data: |
6ms |
get first new msg: |
3ms |
get forum data: |
1ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 203ms |
| total: | 423ms |

| 0 / 0 |
