You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
SELECT M . [ id ] , [ ContractNo ] , [ seller ] , [ buyer ] , [ STT ] , M . [ countryid ] , [ creator ]
, [ Auditor ] , [ MainState ] , [ printed ] , [ AutoAPP ] , [ ShipCompany_id ] , [ BillNo ]
, [ BillType ] , [ Vessel ] , [ Voyage ] , [ Ex_sailingdate ] , [ ArrivalDate ]
, [ ContainerNo ] , [ SealNo ] , [ TransactionMethod ] , [ PaymentMethods ]
, [ SecurityDeposit ] , [ CustomsReleaseDate ] , [ SamplingDate_Plan ]
, [ SamplingDate_Act ] , [ inspection_Signup_date ]
, [ inspection_no ] , [ inspection_date ]
, cg . id as cgid , cg . name , c . countryid , c . country
FROM
[ ShippingWeb ] . [ dbo ] . [ Import_main ] M
left join code_country c on m . countryid = c . countryid
left join import_cargo cg on cg . contract_id = M . id
left join import_cargoinfo ci on ci . id = cg . cargoinfo_id
select * from [ user ]