Find your product
Search
[Exit]
Subscribe to our newsletter
Enviar
[Exit]
Accessory
Enviado com sucesso!
Ops... não foi possível enviar.
Accessory
Catalogue
Accessory
Catalogue
Menu
About Us
PRODUCTS
Automotive Accessories
Throttle Response Controller
Power Windows
Rear View Mirrors
Sunroof
Keyless Car Alarm
Speed Lock + Wheel Anti-Theft
Trailer Lighting Interface
Glass Breaking Sensor
Auto Turn Off Radios
Light System Auto Activation
Power Doors
GNV - Gás Natural
News
WHERE TO BUY
Accessories Automotive
DOWNLOADS
Automotive Accessories
contato
ABOUT US
products
Automotive Accessories
Throttle Response Controller
Power Windows
Rear View Mirrors
Sunroof
Keyless Car Alarm
Speed Lock + Wheel Anti-Theft
Trailer Lighting Interface
Glass Breaking Sensor
Auto Turn Off Radios
Light System Auto Activation
Power Doors
WHERE TO BUY
Automotive Accessories
Downloads
Automotive Accessories
Contact
News
Find the ideal product for your vehicle
Manufacturer
Abarth
Acura
Agrale
Alfa Romeo
Aston Martin
Audi
Baic
Bentley
BMW
Buick
Cadillac
Can Am
Chery
Chevrolet
Chrysler
Citroen
Dacia
Daewoo
Daihatsu
Dodge
Dongfeng
Ferrari
Fiat
Ford
Ford Truck
Freight Liner
Geely
Genesis
GMC
Great Wall
Haval
Holden
Honda
Hummer
Hyundai
Infinit
Isuzu
Iveco
Jac
Jaguar
Jeep
Kia
Lamborguini
Lancia
Land Rover
Lexus
Lifan
Lincoln
Lotus
Man
Maserati
Maybach
Mazda
McLaren
Mercedes
Mercedes Truck
MG
Mini
Mitsubishi
Nissan
Opel
Peugeot
Polaris
Pontiac
Porsche
Proton
Ram
Renault
Saab
Saturn
Scania
Scion
Seat
Skoda
Smart
Soueast
SsangYong
Subaru
Suzuki
Tata
Toyota
Troller
VanderHall
Vauxhall
Volks Truck
Volkswagen
Volvo
Volvo Truck
Others
Model
Year
select a.anoini as ini,a.anofim as fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where a.cod_veiculo=800 and d.codigo= and anoini>0 UNION ALL select a.anoini as ini,a.anofim as fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where a.cod_veiculo=800 and d.codigo= and anofim>0 union ALL select min(a.acimade)ini,year(now())fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where cod_veiculo=800 and d.codigo= and a.acimade>0 having ini >0Erro: (select a.anoini as ini,a.anofim as fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where a.cod_veiculo=800 and d.codigo= and anoini>0 UNION ALL select a.anoini as ini,a.anofim as fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where a.cod_veiculo=800 and d.codigo= and anofim>0 union ALL select min(a.acimade)ini,year(now())fim from produto_veiculo a join produtos b on b.codigo=a.cod_produto and b.ativo='true' and b.status='Ativo' join produto_aplicacao c on c.cod_produto=b.codigo join aplicacao d on d.codigo=c.cod_aplicacao where cod_veiculo=800 and d.codigo= and a.acimade>0 having ini >0) - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and anoini>0 UNION ALL select a.anoini as ini,a.anofim a' at line 6