On Mar 9, 2007, at 14:15, Chris Schults wrote:
> SELECT * FROM story__category WHERE id = '25746';
> SELECT * FROM story__category WHERE story_instance__id
= '25746';
>
> What am I missing? (Keep in mind I'm relatively new to
working with
> the
> database directly.)
You need to use the ID from the story_instance table for
that story.
Try something like:
SELECT max(id) FROM story_instance where story__id =
25746;
Then run the query with that ID.
Best,
David
|