Hello,
I need execute one "complex" query in Django, but I don't know how I can do
that.
This is the query:
select
case
WHEN NetSales_.ORGV = 'OVE2' THEN 'COC'
WHEN NetSales_.ORGV = 'OVE5' THEN 'DOM BOSCO'
WHEN NetSales_.ORGV = 'OVE8' THEN 'ATITUDE'
ELSE 'Outra'
end as 'Marca',
NetSales_.CLIENTE,
ravin Yadav wrote:
>
> Hello Everyone,
>
>
> *I want to make INNER JOIN Query Or JOIN Query with "Video" and "*
> *Thumbimages**". Kindly let me know.*
>
> *Below my Models:-*
>
> *from __future__ import unicode_literals*
> *from django.db im
Hello Everyone,
*I want to make INNER JOIN Query Or JOIN Query with "Video" and "*
*Thumbimages**". Kindly let me know.*
*Below my Models:-*
*from __future__ import unicode_literals*
*from django.db import models*
*from django.utils import timezone*
*from django.template.d
3 matches
Mail list logo