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 P&L (
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 components is accessories made up of? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'ACCESSORIES'; |
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 P&L (
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; | Which items fall under the category of accessories? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'ACCESSORIES'; |
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 P&L (
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 elements constitute the accessories category? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'ACCESSORIES'; |
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 P&L (
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 are the components of the accessories? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'ACCESSORIES'; |
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 P&L (
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 parts are included in accessories? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'ACCESSORIES'; |
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 P&L (
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 opening stock composed of? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'Opening 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 P&L (
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; | Which items make up the opening stock? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'Opening 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 P&L (
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 elements are part of the opening stock? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'Opening 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 P&L (
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 are the components of the opening stock? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'Opening 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 P&L (
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 does the opening stock consist of? | SELECT DSPDISPNAME FROM master WHERE Parent_Name = 'Opening Stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'revenue from operation'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'revenue from operation'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'revenue from operation'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'revenue from operation'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'revenue from operation'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'revenue from operation'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'revenue from operation' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'revenue from operation'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'revenue from operation'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'revenue from operation'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'direct incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'direct incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'direct incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'direct incomes' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'direct incomes'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'cost of sales'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'cost of sales'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'cost of sales'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'cost of sales'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'cost of sales'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'cost of sales'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'cost of sales' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'cost of sales'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'cost of sales'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'cost of sales'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'opening stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'opening stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'opening stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'opening stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'opening stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'opening stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'opening stock' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'opening stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'opening stock'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'opening stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'add: purchase accounts'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'add: purchase accounts'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'add: purchase accounts'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'add: purchase accounts'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'add: purchase accounts'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'add: purchase accounts'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'add: purchase accounts' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'add: purchase accounts'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'add: purchase accounts'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'add: purchase accounts'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'less: closing stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'less: closing stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'less: closing stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'less: closing stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'less: closing stock'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'less: closing stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'less: closing stock' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'less: closing stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'less: closing stock'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'less: closing stock'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'direct expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'direct expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'direct expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'direct expenses' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'direct expenses'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'direct expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'indirect incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'indirect incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'indirect incomes'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'indirect incomes' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'indirect incomes'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect incomes'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'indirect expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'indirect expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'indirect expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'indirect expenses' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'indirect expenses'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'indirect expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 amount/value is recorded for 'expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Can you tell me the amount/value associated with 'expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | How much is the amount/value for 'expenses'? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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 listed as the amount/value under 'expenses' in the database? | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'expenses'; |
CREATE TABLE master (
id INTEGER NOT NULL AUTO_INCREMENT,
DSPDISPNAME 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; | Provide the amount/value for 'expenses'. | SELECT PLSUBAMT AS value FROM P&L WHERE DSPDISPNAME = 'expenses'; |
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 'accessories'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'accessories'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'accessories'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'accessories'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'accessories'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'accessories'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'accessories 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 'barcode labels'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'barcode labels'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'barcode labels'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'barcode labels'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'barcode labels'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'barcode labels'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'barcode labels 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 'before gst finished goods'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst finished goods'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst finished goods'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst finished goods'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst finished goods'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst finished goods'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst finished goods 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 'before gst grey'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst grey'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst grey'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst grey'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst grey'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst grey'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst grey 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 'before gst raw material'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst raw material'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst raw material'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst raw material'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst raw material'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst raw material'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst raw 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 'before gst semi finished goods'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'before gst semi finished goods'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'before gst semi finished goods'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'before gst semi finished goods'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'before gst semi finished goods'? | SELECT p.DSPCLRATE AS 'closing rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'before gst semi finished goods'? | SELECT p.DSPCLAMTA AS 'closing amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'before gst semi finished goods 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 'chemical'? | SELECT p.DSPOPQTY AS 'opening quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'chemical 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 'chemical'? | SELECT p.DSPOPRATE AS 'opening rate' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'chemical 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 'chemical'? | SELECT p.DSPOPAMTA AS 'opening amount' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'chemical 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 'chemical'? | SELECT p.DSPCLQTY AS 'closing quantity' FROM P&L p JOIN master m ON m.DSPDISPNAME = p.DSPDISPNAME WHERE p.DSPDISPNAME = 'chemical AND (m.Parent_Name = 'Opening Stock' OR m.Parent_Name = 'Closing Stock'); |