# Correct answer not accepted in Snadbox

**URL:** <https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622>\
**Category:** General\
**Tags:** migrated\
**Created:** [September 28, 2022, 3:17pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622 "2022-09-28T15:17:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valentina](https://avatars.discourse-cdn.com/v4/letter/v/43a26b/32.png) [@Valentina](https://community.neo4j.com/u/Valentina)\
**Post date:** [September 28, 2022, 3:17pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/1 "2022-09-28T15:17:42Z")

</div>

Hello,

I'm currently enrolled in the Graph Data Modelling Fundamental course and I am having an issue with certain queries

If I write

MATCH (u:User)-[:RATED]-(m:Movie)  
WHERE m.title="Apollo 13"  
RETURN count(\*) AS "Number of reviewers")

I get an error message

When I copy

MATCH (u:User)-[:RATED]-(m:Movie)  
WHERE m.title = 'Apollo 13'  
RETURN count(\*) AS `Number of reviewers`

It works but they look the same to me

---

<div class="post-metadata">

**Author:** ![elaine\_rosenber](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/elaine_rosenber/32/27409_2.png) [@elaine\_rosenber](https://community.neo4j.com/u/elaine_rosenber)\
**Post date:** [September 28, 2022, 7:21pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/2 "2022-09-28T19:21:38Z")

</div>

Ah yes! I forgot to add the back tics! Thanks [@glilienfield](https://community.neo4j.com/t5/user/viewprofilepage/user-id/9010)

---

<div class="post-metadata">

**Author:** ![glilienfield](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/glilienfield/32/27534_2.png) [@glilienfield](https://community.neo4j.com/u/glilienfield)\
**Post date:** [September 28, 2022, 6:16pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/3 "2022-09-28T18:16:13Z")

</div>

You need to use back ticks when enclosing a string to be used as an output label. Also, you have an extra right parenthesis at the end.

---

<div class="post-metadata">

**Author:** ![elaine\_rosenber](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/elaine_rosenber/32/27409_2.png) [@elaine\_rosenber](https://community.neo4j.com/u/elaine_rosenber)\
**Post date:** [September 28, 2022, 3:40pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/4 "2022-09-28T15:40:42Z")

</div>

This should work:

MATCH (u:User)-[:RATED]-(m:Movie)  
WHERE m.title="Apollo 13"  
RETURN count(\*) AS Number of reviewers

---

<div class="post-metadata">

**Author:** ![Valentina](https://avatars.discourse-cdn.com/v4/letter/v/43a26b/32.png) [@Valentina](https://community.neo4j.com/u/Valentina)\
**Post date:** [September 29, 2022, 2:26pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/5 "2022-09-29T14:26:31Z")

</div>

Thank you both for your help. I wasn't sure if it was related to that as "Apollo 13" was accepted (the parenthesis is a spelling mistake here not in the query) and I don't know if there's a difference between the two in terms of what they are (like I never heard "output label". Guess I just have to proceed with the course to find out more

---

<div class="post-metadata">

**Author:** ![glilienfield](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/glilienfield/32/27534_2.png) [@glilienfield](https://community.neo4j.com/u/glilienfield)\
**Post date:** [September 29, 2022, 7:18pm UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/6 "2022-09-29T19:18:39Z")

</div>

The logic of both queries is identical. You must have gotten an error with the first because you need to enclose the "Number of Reviews" in back ticks for it to work. That is the syntax when using a string with spaces in it to represent a variable, property, or an output label.

---

<div class="post-metadata">

**Author:** ![Valentina](https://avatars.discourse-cdn.com/v4/letter/v/43a26b/32.png) [@Valentina](https://community.neo4j.com/u/Valentina)\
**Post date:** [September 30, 2022, 8:06am UTC](https://community.neo4j.com/t/correct-answer-not-accepted-in-snadbox/59622/7 "2022-09-30T08:06:55Z")

</div>

Thanks a lot!  
(migrated from khoros post [Solved: Re: Correct answer not accepted in Snadbox - Neo4j - 60689](https://community.neo4j.com/t5/graphacademy-discussions/correct-answer-not-accepted-in-snadbox/m-p/60777#M1519))
