add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
id tsent
1 [{"class": 0, "entity": "John Smith", "sent_no": 0, "class_label": "negative", "entity_type": "PER", "sentiment_prob": 0.95}, {"class": 1, "entity": "University of Illinois", "sent_no": 0, "class_label": "neutral", "entity_type": "ORG", "sentiment_prob": 0.95}]
2 [{"class": 0, "entity": "John Smith", "sent_no": 0, "class_label": "neutral", "entity_type": "PER", "sentiment_prob": 0.95}, {"class": 1, "entity": "University of Illinois", "sent_no": 0, "class_label": "negative", "entity_type": "ORG", "sentiment_prob": 0.95}]
3 [{"class": 0, "entity": "Jane Smith", "sent_no": 0, "class_label": "negative", "entity_type": "PER", "sentiment_prob": 0.95}, {"class": 1, "entity": "University of Illinois", "sent_no": 0, "class_label": "neutral", "entity_type": "ORG", "sentiment_prob": 0.95}]
INSERT 0 3
CREATE INDEX
id tsent
1 [{"class": 0, "entity": "John Smith", "sent_no": 0, "class_label": "negative", "entity_type": "PER", "sentiment_prob": 0.95}, {"class": 1, "entity": "University of Illinois", "sent_no": 0, "class_label": "neutral", "entity_type": "ORG", "sentiment_prob": 0.95}]
SELECT 1