I have a table called boxes and a table called words. Every word has a box id column that specifies the word is in which box. Every box has a length column. Now I want the box length column value should be equal to the length of words that box id is equal to the box id. I tried to use Foreign key in sqflite but I'm unable to do this.
2.1m questions
2.1m answers
60 comments
56.8k users