0
I have a column in my table 'RG_ORGAO' and there we will find filled rows like this:
SSP - PUBLIC SECURITY SECRETARIAT
DGPC - GENERAL DIRECTORATE OF CIVIL POLICE
DMV - TRANSIT DEPARTMENT
I need to make a select that returns to me everything that contains before the '-'
You can have a look, https://answall.com/questions/97102/query-para-pega-palavra-apos-determinate-caractere I hope it helps
– DbaAlone