EasyUI Forum
June 27, 2024, 11:15:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to load data in a cell from database depending upon two other cell  (Read 3037 times)
dassoubarna
Newbie
*
Posts: 2


View Profile Email
« on: December 01, 2016, 12:30:04 AM »

I have two MySQL table.
The first table has four column Date, Product, EX, Quantity. EX have three options RB,RC,RT
In the second table there are five columns - Date, Product, RB,RC,RT
RB, RC and RT are the SUM(MySQL) of the Quantity of a particular Product and Date getting from the first table.

For example if first table is follows:
DateProductEXQuantity
02.02.16P-1RB100
02.02.16P-1RB50
02.02.16P-1RC200

Then the second table will be like:
DateProductRBRCRT
02.02.16P-11502000

So I want to run MySQL query and load the result instantly in the RB,RC and RT columns of the second table depending on the value enter in the Date and Product columns of the second table. How could I do that?  Huh Please Help!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!