SELECT DISTINCT ON (tech_opn_no) tech_opn_no, datapoint_spindle_override, COUNT(*) AS count FROM public.machine_dataset_copy WHERE po_sr_no = '72034808_002' GROUP BY tech_opn_no, datapoint_spindle_override ORDER BY tech_opn_no, COUNT(*) DESC;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter