Table: jonas_lucas_episodes
Columns: character
portrayed_by
main_cast_seasons
recurring_cast_seasons
of_episodes

Question: Which main cast seasons were portrayed by Joe Jonas?
SQL: SELECT "main_cast_seasons" FROM jonas_lucas_episodes WHERE "portrayed_by" = 'joe jonas'

Question: How many episodes were portrayed by Nick Jonas?
SQL: SELECT COUNT("of_episodes") FROM jonas_lucas_episodes WHERE "portrayed_by" = 'nick jonas'

Question: How many episodes had the character of Nick Lucas?
SQL: SELECT SUM("of_episodes") FROM jonas_lucas_episodes WHERE "character" = 'nick lucas'

Question: What character is portrayed by Joe Jonas?
SQL: SELECT "character" FROM jonas_lucas_episodes WHERE "portrayed_by" = 'joe jonas'