How we can delete data record through SQL

Hello everyone.......... Basically i'm moving my usr layer customization to var layer, we take backup/xpo of my customized table & delete table to usr layer and import xpo to var layer. My customization is move on var layer but my mistake my data has been goned. So there is any to get data record through SQL.  I can't take data from test environment because these table contains data related to recid and both enviroment have different recid records..