Created
January 30, 2018 04:30
-
-
Save ollyja/3634222c6bb0fa889f4aea03bce64aff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select menu_name, stock_qty, total_sold from ti_menus where total_sold > 0 and subtract_stock >0 and stock_qty < 10 and menu_status > 0 INTO OUTFILE '/tmp/menus.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment