Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

distit

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

distit's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. SELECT orders.order_id, clients.name AS client_name, clients.phone, users.login, order_status.name, SUM(products.price * order_content.quantity) as order_price FROM orders, order_status, users, clients, products,order_content WHERE (orders.status_id = order_status.status_id) AND (users.user_id = orders.user_id) AND (clients.client_id = orders.client_id) AND (orders.order_id = order_content.order_id) AND(order_content.product_id = products.product_id) GROUP BY(orders.order_id) выводит пустую таблицу
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.