context
stringclasses 3
values | question
stringlengths 34
82
| sql_query
stringlengths 65
239
|
---|---|---|
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'non woven fusing'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'non woven fusing AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'non woven fusing'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'non woven fusing AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'non woven fusing'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'non woven fusing AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'non woven fusing'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'non woven fusing AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'packing material'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'packing material'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'packing material'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'packing material'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'packing material'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'packing material'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'packing material AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'printed rayon fabric'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'printed rayon fabric'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'printed rayon fabric'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'printed rayon fabric'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'printed rayon fabric'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'printed rayon fabric'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printed rayon fabric AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'printing & stationery'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'printing & stationery'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'printing & stationery'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'printing & stationery'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'printing & stationery'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'printing & stationery'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'printing & stationery AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'refreshment'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'refreshment'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'refreshment'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'refreshment'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'refreshment'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'refreshment'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'refreshment AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'thread'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'thread'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'thread'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'thread'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'thread'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'thread'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'thread AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for 'vehical parts'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for 'vehical parts'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for 'vehical parts'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for 'vehical parts'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for 'vehical parts'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for 'vehical parts'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'vehical parts AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '12 coushion covers'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '12 coushion covers'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '12 coushion covers'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '12 coushion covers'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '12 coushion covers'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '12 coushion covers'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '12 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '1 bed sheet with 2 pillow cover'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '1 diwan set'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '1 diwan set'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '1 diwan set'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '1 diwan set'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '1 diwan set'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '1 diwan set'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 diwan set AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '1 double bed sheet with 2 pillow cover'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 double bed sheet with 2 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '1 quilt'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '1 quilt'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '1 quilt'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '1 quilt'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '1 quilt'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '1 quilt'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '1 quilt cover'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '1 quilt cover'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '1 quilt cover'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '1 quilt cover'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '1 quilt cover'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '1 quilt cover'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '1 quilt cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '2 bed sheet'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '2 bed sheet'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '2 bed sheet'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '2 bed sheet'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '2 bed sheet'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '2 bed sheet'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 bed sheet AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '2 coushion covers'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '2 coushion covers'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '2 coushion covers'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '2 coushion covers'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '2 coushion covers'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '2 coushion covers'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 coushion covers AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '2 dohar'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '2 dohar'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '2 dohar'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '2 dohar'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '2 dohar'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '2 dohar'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 dohar AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening quantity for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening rate for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the opening amount for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing quantity for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing rate for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME VARCHAR(255),
Parent_Name VARCHAR(255),
GGUID VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB;
CREATE TABLE stock_summary (
id INTEGER NOT NULL AUTO_INCREMENT,
REPORTID VARCHAR(255),
DSPDISPNAME VARCHAR(255),
PLSUBAMT VARCHAR(255),
BSMAINAMT VARCHAR(255),
DSPOPQTY VARCHAR(255),
DSPOPRATE VARCHAR(255),
DSPOPAMTA VARCHAR(255),
DSPCLQTY VARCHAR(255),
DSPCLRATE VARCHAR(255),
DSPCLAMTA VARCHAR(255),
PRIMARY KEY (id)
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ENGINE=InnoDB; | What is the closing amount for '2 double bed sheet with 4 pillow cover'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = '2 double bed sheet with 4 pillow cover AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |