I was give an query, pulled from our ERP system, with curly braces {} in the FROM clause and was asked to put in another program but I have never see curly braces used in a FROM clause and don't understand how it works. I have never seen a FROM clause that has multiple tables joined with just a comma. Looking for a reference or answer that will help me understand this.
FROM { oj bin
LEFT OUTER JOIN bin_replenishment ON bin.bin_uid = bin_replenishment.bin_uid },
inv_bin inv_bin_a,
inv_mast,
inv_loc,
inv_bin inv_bin_b
If it helps here is the full query
SELECT
inv_mast.item_id AS 'Item #',
inv_loc.primary_bin AS 'Primary Bin',
inv_loc.location_id,
inv_bin_a.location_id,
inv_bin_b.quantity AS 'Qty in Primary',
inv_bin_b.qty_allocated AS 'Primary Bin Allocated',
inv_bin_a.bin AS '2nd Bin',
inv_bin_a.quantity AS '2nd Bin Qty',
inv_bin_a.qty_allocated AS '2nd Bin Allocated',
inv_loc.qty_allocated AS 'Total Allocated',
inv_mast.item_desc AS 'Item Description'
FROM
{ oj bin
LEFT OUTER JOIN bin_replenishment ON bin.bin_uid = bin_replenishment.bin_uid },
inv_bin inv_bin_a,
inv_mast,
inv_loc,
inv_bin inv_bin_b