mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
1 line
161 B
SQL
1 line
161 B
SQL
SELECT DISTINCT t1.`name` FROM `tab%(based_on)s` t1, `tabTarget Detail` t2 WHERE t2.parent = t1.name and (t2.target_amount != 0 or t2.target_amount is not null) |