[SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.id = ? AND i.is_draft = 0 | Params: [166300] [SQL] SELECT * FROM d_block WHERE idea_id = ? ORDER BY position ASC, id ASC | Params: [166300] [SQL] SELECT * FROM d_topic WHERE slug IN (?,?,?,?,?,?) ORDER BY name | Params: ["Habits","Strategy","Creativity","Books","Society"," Arts & Culture"] [SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.is_draft = 0 AND i.id != ? AND i.hashtags LIKE CONCAT('%', ?, '%') ORDER BY i.total_reads DESC LIMIT ? | Params: [166300,"Habits",3] [SQL] SELECT * FROM d_user WHERE id = ? | Params: [0] [SQL] UPDATE d_idea SET total_reads = total_reads + 1 WHERE id = ? | Params: [166300]
Curated from: books.google.com
Ideas, facts & insights covering these topics:
1 ideas · 4 reads
Identify your habit. What is the habit that you want to change? Be as specific as possible. For example, instead of saying "I want to eat healthier," say "I want to eat more fruits and vegetables."
Understand the cue. What triggers the habit? For example, if you eat unhealthy snacks when you're stressed, the cue might be stress.
Find a replacement. What can you do instead of the habit? For example, if you eat unhealthy snacks when you're stressed, you could try going for a walk or listening to music.