Suppose I have this database:
id Referall Code User Email Date of Using
______________________________________________________________________
1 ABCD John [email protected] 13-06-2022
2 EFGH Marry [email protected] 17-06-2022
3 IJKL Bryan [email protected] 21-06-2022
4 ABCD Luke [email protected] 05-07-2022
5 EFGH Tom [email protected] 11-08-2022
I want the result to be like this:
Referall Code User Email Date of Using
_______________________________________________________________
ABCD John [email protected] 13-06-2022
Luke [email protected] 05-07-2022
EFGH Marry [email protected] 17-06-2022
Tom [email protected] 11-08-2022
IJKL Bryan [email protected] 21-06-2022
I am using sqLite as a database, How can I get it done in django?