A Database Error Occurred
Error Number:
ОШИБКА: отношение "trademarks" не существует LINE 2: FROM trademarks t JOIN greytable g ON t.id = g.t... ^
SELECT g.id, t.name, g.year, g.quantity, g.price_ret, g.price_whole, g.inspection, (g.add_info || ' ' || g.defect || ' ' || g.category ) as add_info, g.pack FROM trademarks t JOIN greytable g ON t.id = g.trademark_id AND g.status = 1 WHERE g.trademark_id = 51475 ORDER BY year