I think people need to see what your music_result table looks like before 
replying

On Thursday, August 23, 2018 at 2:35:04 AM UTC-4, ruban bharath wrote:
>
> Hi these are my tables
>
> music_name = char(username),userId(int)
>
> meaning = char(meaning),userid(int)
>
> i have used the join to merge this
>
> db = sqlite3.connect('db.sqlite3')
> cursor = db.cursor()
>
> cursor.execute('\n'
>
>                        'INSERT INTO  music_result SELECT username, meaning 
> ,NULL\n'
>
>                        'FROM music_name N JOIN music_sample1 T ON N.userid = 
> T.userid \n')
>         db.commit()
>
> when i tried to do this i got an error like
>
> *sqlite3.IntegrityError: datatype mismatch*
>
> please do help me to solve this error
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/10a3aec5-bf81-4524-9f3a-5d6534ada51e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to